﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WachtwoordVeranderen.ascx.cs"
    Inherits="BackEndSystemWebTv.Controls.WachtwoordVeranderen" %>
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:ChangePassword ID="CustomVeranderWachtwoord" runat="server" BackColor="#EFF3FB"
            BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
            CancelButtonText="Stop" ChangePasswordButtonText="Wijzig wachtwoord" ChangePasswordFailureText="Wachtwoord fout of nieuw wachtwoord ongelding. Nieuw wachtwoord minimum lengte: {0}. Non-alphanummerieke karakter vereist: {1}."
            ChangePasswordTitleText="Verander je wachtwoord" ConfirmNewPasswordLabelText="Bevestig nieuw wachtwoord:"
            ConfirmPasswordCompareErrorMessage="Bevestig wachtwoord moet overeen komen met nieuw wachtwoord"
            ConfirmPasswordRequiredErrorMessage="Bevestig nieuw wachtwoord vereist." Font-Names="Verdana"
            Font-Size="0.8em" NewPasswordLabelText="Nieuw wachtwoord:" NewPasswordRegularExpressionErrorMessage="Vul aub een nieuw wachtwoord in."
            NewPasswordRequiredErrorMessage="Nieuw wachtwoord is vereist." OnContinueButtonClick="ChangePassword1_ContinueButtonClick"
            PasswordLabelText="Wachtwoord:" PasswordRequiredErrorMessage="Wachtwoord is vereist."
            SuccessText="Je wachtworod is succesvol gewijzigd!" SuccessTitleText="Wachtwoord wijzigen voltooid."
            UserNameLabelText="Gebruikersnaam:" UserNameRequiredErrorMessage="Gebruikersnaam vereist.">
            <CancelButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
            <ChangePasswordButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
            <ChangePasswordTemplate>
                <table cellpadding="4" cellspacing="0" style="border-collapse: collapse;">
                    <tr>
                        <td>
                            <table cellpadding="0">
                                <tr>
                                    <td align="center" colspan="2" style="color: White; background-color: #507CD1; font-size: 0.9em;
                                        font-weight: bold;">
                                        Verander je wachtwoord
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="CurrentPasswordLabel" runat="server" AssociatedControlID="CurrentPassword">Wachtwoord:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="CurrentPassword" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="CurrentPassword"
                                            ErrorMessage="Wachtwoord is vereist." ToolTip="Wachtwoord is vereist." ValidationGroup="ctl00$CustomVeranderWachtwoord">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="NewPasswordLabel" runat="server" AssociatedControlID="NewPassword">Bevestig nieuw wachtwoord:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="ConfirmNewPassword" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" ControlToValidate="ConfirmNewPassword"
                                            ErrorMessage="Bevestig nieuw wachtwoord vereist." ToolTip="Bevestig nieuw wachtwoord vereist."
                                            ValidationGroup="ctl00$CustomVeranderWachtwoord">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="ConfirmNewPasswordLabel" runat="server" AssociatedControlID="ConfirmNewPassword">Nieuw wachtwoord:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="NewPassword" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword"
                                            ErrorMessage="Nieuw wachtwoord is vereist." ToolTip="Nieuw wachtwoord is vereist."
                                            ValidationGroup="ctl00$CustomVeranderWachtwoord">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2" style="color: Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2">
                                        <asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="NewPassword"
                                            ControlToValidate="ConfirmNewPassword" Display="Dynamic" ErrorMessage="Bevestig wachtwoord moet overeen komen met nieuw wachtwoord"
                                            ValidationGroup="ctl00$CustomVeranderWachtwoord"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Button ID="ChangePasswordPushButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                            BorderStyle="Solid" BorderWidth="1px" CommandName="ChangePassword" Font-Names="Verdana"
                                            Font-Size="0.8em" ForeColor="#284E98" Text="Wijzig wachtwoord" ValidationGroup="ctl00$CustomVeranderWachtwoord" />
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </ChangePasswordTemplate>
            <ContinueButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <PasswordHintStyle Font-Italic="True" ForeColor="#507CD1" />
            <SuccessTemplate>
                <table cellpadding="4" cellspacing="0" style="border-collapse:collapse;">
                    <tr>
                        <td>
                            <table cellpadding="0">
                                <tr>
                                    <td align="center" style="color: White; background-color: #507CD1; font-size: 0.9em;
                                        font-weight: bold;">
                                        Wachtwoord wijzigen voltooid.</td>
                                </tr>
                                <tr>
                                <td>
                                        Je wachtworod is succesvol gewijzigd!</td>                                    
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </SuccessTemplate>
            <TextBoxStyle Font-Size="0.8em" />
            <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
        </asp:ChangePassword>
    </ContentTemplate>
</asp:UpdatePanel>
